package com.yadang.xml.entity;

import javax.xml.bind.annotation.XmlElement;

/**
 * @author: 亚当
 * @date: 2023年03月21日 21:51
 * @package: com.yadang.xml.entity
 * @Description: TODO
 */
public class Header {

    private String versionId;
    private String senderId;
    private String receiverId;
    private String receiverClientId;
    private FileDesc fileDesc;

    public String getVersionId() {
        return versionId;
    }

    @XmlElement(name = "Vrsn")
    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getSenderId() {
        return senderId;
    }

    @XmlElement(name = "Sndr")
    public void setSenderId(String senderId) {
        this.senderId = senderId;
    }

    public String getReceiverId() {
        return receiverId;
    }

    @XmlElement(name = "Rcvr")
    public void setReceiverId(String receiverId) {
        this.receiverId = receiverId;
    }

    public String getReceiverClientId() {
        return receiverClientId;
    }

    @XmlElement(name = "RcvrClntId")
    public void setReceiverClientId(String receiverClientId) {
        this.receiverClientId = receiverClientId;
    }

    public FileDesc getFileDesc() {
        return fileDesc;
    }

    @XmlElement(name = "FileDesc")
    public void setFileDesc(FileDesc fileDesc) {
        this.fileDesc = fileDesc;
    }
}
